#!/bin/bash

rm -rf dist
npm run build:prod
# 部署到mac
rm -rf /usr/local/var/www/output
cp -r dist /usr/local/var/www/output
rm -rf dist.tar.gz
tar -zcvf dist.tar.gz dist
